﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Think.Lenovo.Com.Models.Users;
namespace Think.Lenovo.Com.home.controls
{
    public partial class left : System.Web.UI.UserControl
    {
        public ViewUserModel User = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            #region //step 1 判断是否登录

            User = (ViewUserModel)Session["User"];

            if (User == null)
            {
                Response.Redirect("/home/Login.aspx");
            }
            #endregion
        }
    }
}